<!DOCTYPE html>
<html lang="en">

	<include file="Public:header" />
	<include file="Public:page_css" />

	<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
		<include file="Public:nav" />
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content no-padding">
						<ul class="list-group">
							<li class="list-group-item">
								<p class="text-success"><a href="{:U('Index/index')}" title="返回首页" class="tip-bottom"><i class="fa fa-home"></i> 首页</a> /
									<a href="#" class="tip-bottom">系统管理</a> /
									<a href="{:U('System/role')}" class="tip-bottom">角色管理</a> /
									<a href="#" class="tip-bottom">添加角色</a>
								</p>
							</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-title">
						<h5>添加角色</h5>
						<div class="ibox-tools">
							<a class="collapse-link">
								<i class="fa fa-chevron-up"></i>
							</a>
						</div>
					</div>
					<div class="ibox-content">
						<form class="form-horizontal" method="post" action="{:U('System/addrole')}" name="basic_validate" id="signupForm">
							<div class="form-group">
								<label class="col-sm-2 control-label">角色名称</label>
								<div class="col-sm-6">
									<input type="text" id="name" name="name" placeholder="输入角色名称" class="form-control">
								</div>
							</div>
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">备注信息</label>
								<div class="col-sm-6">
									<input type="text" name="remark" placeholder="输入备注信息" class="form-control">
								</div>
							</div>
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">状态
								</label>
								<div class="col-sm-6">
								<div class="radio i-checks">
										<label>
											<input type="radio" checked="checked" value="1" name="data[status]"> <i></i> 启用</label>
											<label>
											<input type="radio" value="0" name="data[status]"> <i></i> 停用</label>
									</div>																	
								</div>
							</div>
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<div class="col-sm-4 col-sm-offset-2">
									<button class="btn btn-primary" type="submit">保存内容</button>
									<a class="btn btn-white" href="{:U('System/role')}">取消</a>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
		<include file="Public:footer" />
		<!--前端表单验证必须引入的3个js-->   
		<script src="__PUBLIC__/Admin/js/plugins/validate/jquery.validate.min.js"></script>
		<script src="__PUBLIC__/Admin/js/plugins/validate/messages_zh.min.js"></script>
		<script src="__PUBLIC__/Admin/js/form-validate-addrole.js"></script>
	</body>

</html>